<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
			<text>你好啊</text>
			<uni-badge text="1"></uni-badge>
			<uni-badge text="2" type="success"></uni-badge>
			<uni-badge text="3" type="primary" :inverted="true"></uni-badge>
		</view>
	</view>
</template>

<script>
	import uniBadge from "@/components/uni-badge/uni-badge.vue"
	// import {uniBadge} from '@dcloudio/uni-ui'
	export default {
		components: {uniBadge},
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		.logo{
			width: 100px;
		}
	}
</style>
